<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

//个人站首页
Route::get('/', function () {
    return view('index');
	
});

//博客首页
Route::get('/blog', function () {

	return view('blog/index');

});

//
Route::get('/blogDetail', function () {

	return view('blog/blogDetail');

});

// Route::post('/fl',function (){
// 	return 'fenglei';
// });


//带参数的路由
// Route::get("/fl/{id}",function ($id){
// 	return 'fenglei'.$id;
// });
	
// Route::any('/fl',function (){
// 	return '任何方式都可以访问';
// });

//match路由,可以匹配多个请求方式
/* Route::match(['get','post'],"/fl",function (){
	return 'fenglei';
}); */
	


	


